package com.hhsjdesign.dynamicui.core.widgetdata

import com.hhsjdesign.dynamicui.annoprocess.ADynamicUI
import com.hhsjdesign.dynamicui.annoprocess.AWidgetData
import com.hhsjdesign.dynamicui.core.property.widget.FlipWidgetProperty
import com.hhsjdesign.dynamicui.core.property.widget.ISpecPropertyTransformer
import org.json.JSONObject

/**
 * 头条组件数据
 * FlipLayoutProperty
 */
@ADynamicUI
@AWidgetData(WidgetTypeConst.FLIP)
open class FlipWidgetData(jo: JSONObject) : WidgetData(jo),
    ISpecPropertyTransformer<FlipWidgetProperty> {

    override fun transformWidgetSpecProperty(): FlipWidgetProperty {
        return specProperty as FlipWidgetProperty
    }

}